<div id="mws-container" class="clearfix">
    <div class="container">
        <div class="mws-panel grid_8">
            <div class="mws-panel-header"> <span class="mws-i-24 i-list"><?php echo "Edit"; ?> Seller</span> </div>
            <div class="mws-panel-body">
                <div class="mws-form-inline">
                    <?php echo $form->create(array('controller' => 'setups', 'action' => '', 'method' => 'post', 'class' => 'mws-form', 'enctype' => 'multipart/form-data')); ?>
                    <?php
                    if (isset($details['Seller']['id'])) {
                        $details['Seller']['id'] = $details['Seller']['id'];
                    } else {
                        $details['Seller']['id'] = "";
                    }
                    echo $this->Form->input('Seller.id', array('type' => 'hidden', 'value' => $details['Seller']['id']));
                    ?>
                    <?php
                    foreach ($details['Seller'] as $key => $val) {
                        if (isset($key) and (($key == "id") or ($key == "password") or ($key == "slug") or ($key == "hash"))) {
                            
                        } else {
                            ?>
                            <div class="mws-form-row">
                                <label>* <?php echo str_replace("_", " ", strtoupper($key)); ?> :</label>
                                <div class="mws-form-item small"> 
                                    <?php
                                    if (isset($details['Seller']['' . $key . ''])) {
                                        $details['Seller']['' . $key . ''] = $details['Seller']['' . $key . ''];
                                    } else {
                                        $details['Seller']['' . $key . ''] = "";
                                    }
                                    echo $this->Form->input('Seller.' . $key . '', array('type' => 'text', 'value' => $details['Seller']['' . $key . ''], 'class' => 'mws-textinput', 'label' => false));
                                    ?>
                                </div>
                            </div>
                            <?php
                        }
                    }
                    ?>
                    <div class="mws-button-row">
                        <input type="submit" class="mws-button black" value="Submit">
                    </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
    s